<%@ page language="java" contentType="text/html; charset=utf-8" pageEncoding="utf-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt" %>
<div class="data_list">
		<div class="data_list_title">
			<img src="${pageContext.request.contextPath}/static/images/list_icon.png"/>
			最新博客
		</div>
		<div class="datas">
			<c:forEach var="blog" items="${blogList}">
				<ul>
					<li style="margin-bottom: 30px">
						<span class="date"><a href="${pageContext.request.contextPath}/blog/articles/${blog.id}.html">${blog.releaseDateStr}</a></span>
						<span class="title"><a href="${pageContext.request.contextPath}/blog/articles/${blog.id}.html">${blog.title}</a></span>
						<span class="summary">${blog.summary}</span>
						<span class="info">发表于<fmt:formatDate value="${blog.releaseDate}" type="date" pattern="yyyy-mm-dd HH:mm"/>&nbsp; 阅读(${blog.clickHit}) &nbsp; 评论(${blog.replyHit}) </span>
					</li>
					<hr style="height:5px;border:none;border-top:1px dashed gray;padding-bottom:  10px;" />
				</ul>
			</c:forEach>
		</div>
   </div>

<div>
	<nav>
	  <ul class="pagination pagination-sm">
		${pageCode}
	  </ul>
	</nav>
 </div>
